import java.util.ArrayList;

/**
 * This class is responsible for representing the output data, which will be used to
 * show the output chart.
 * 
 * @author Administrator
 *
 */
public class Output {
	/**The salary cost in traditional way*/
	private int trad_humanCost = 0;
	/**The communication cost in traditional way*/
	private int trad_commCost = 0 ;
	/**The salary cost in new method*/
	private int new_humanCost = 0;
	/**The communication cost in new method*/
	private int new_commCost = 0;
	/**The scheduled tasks which have scheduled information: who own this task,
	 * when this task should be executed, when will this task be completed, is it
	 * a terminal task, the tasks that should be completed before, and so on*/
	private ArrayList<Task> cbHandledTasks = null;//communication-based
	private ArrayList<Task> pbHandledTasks = null;//phase-based
	public int getTrad_humanCost() {
		return trad_humanCost;
	}
	public void setTrad_humanCost(int trad_humanCost) {
		this.trad_humanCost = trad_humanCost;
	}
	public int getTrad_commCost() {
		return trad_commCost;
	}
	public void setTrad_commCost(int trad_commCost) {
		this.trad_commCost = trad_commCost;
	}
	public int getNew_humanCost() {
		return new_humanCost;
	}
	public void setNew_humanCost(int new_humanCost) {
		this.new_humanCost = new_humanCost;
	}
	public int getNew_commCost() {
		return new_commCost;
	}
	public void setNew_commCost(int new_commCost) {
		this.new_commCost = new_commCost;
	}
	public ArrayList<Task> getCbHandledTasks() {
		return cbHandledTasks;
	}
	public void setCbHandledTasks(ArrayList<Task> cbHandledTasks) {
		this.cbHandledTasks = new ArrayList<Task>();
		for(Task task:cbHandledTasks){
			this.cbHandledTasks.add((Task)task.clone());
		}
	}
	public ArrayList<Task> getPbHandledTasks() {
		return pbHandledTasks;
	}
	public void setPbHandledTasks(ArrayList<Task> pbHandledTasks) {
		this.pbHandledTasks = new ArrayList<Task>();
		for(Task task:pbHandledTasks){
			this.pbHandledTasks.add((Task)task.clone());
		}
	}
	
}
